.section .text
.equ addressr0, 0x000010
.equ addressr1, 0x000020
.equ addressr2, 0x000030
.equ addressr3, 0x000040

.equ addressr0w, 0x80000
.equ addressr1w, 0xA0000
.equ addressr2w, 0xC0000
.equ addressr3w, 0xE0000

.global _start
_start:
movia r20, addressr0
ldhio r21,0(r20)
movia r20, addressr0w
sthio r21, 0(r20)

movia r20, addressr1
ldhio r21,0(r20)
movia r20, addressr1w
sthio r21, 0(r20)

movia r20, addressr2
ldhio r21,0(r20)
movia r20, addressr2w
sthio r21, 0(r20)

movia r20, addressr3
ldhio r21,0(r20)
movia r20, addressr3w
sthio r21, 0(r20)

br _start

.end


